package com.itheima.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmpParam {
    private String name;
    private Integer gender;
    @DateTimeFormat(pattern = "yyyy-mm-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-mm-dd")
    private LocalDate end;
    private Integer page=1;
    private Integer pageSize=10;

    //封装Student列表请求参数
    private Integer degree;
    private Integer clazzId;

}
